<div>
	<form method="post" id="form_${action_id}" name="form_${action_id}" >
	<input type="hidden" name="entity.id" id="entity.id" value="" />
	<input type="hidden" name="entity.parentId" id="entity.parentId" value="${pid?default('')}" />
    <table class="form-table" cellpadding=3>
        <tr>
            <td>${action.getDatagridTitle('name')}:</td>
            <td><input id="entity.name" name="entity.name" type="text" style="width: 300px;" class="easyui-validatebox" data-options="required:true,validType:'length[0,64]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('address')}:</td>
            <td><input id="entity.address" type="text" style="width:300px;" name="entity.address"  class="easyui-validatebox" data-options="validType:'length[0,500]'"   ></input></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('mobile')}:</td>
            <td><input id="entity.mobile" type="text" style="width:300px;" name="entity.mobile"  class="easyui-validatebox" data-options="validType:'length[0,20]'" ></input></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('linkMan')}:</td>
            <td><input id="entity.linkMan" type="text" style="width:300px;" name="entity.linkMan"  class="easyui-validatebox" data-options="validType:'length[0,32]'" ></input></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('regionId')}:</td>
            <td>
            	<select name="entity.regionId" id="_searcher_eq_region_${action_id}" style="width:150px;" class="easyui-combotree" data-options="editable:false,url:'${request.contextPath}${namespace?default('')}/mp/catalog/catalog-datagrid.json?key=region',animate:true" />
            	<a href="javascript:;;" onclick="$('#_searcher_eq_region_${action_id}').combotree('clear');" title="清除" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-undo'" ></a>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('state')}:</td>
            <td>
            	<select id="entity.state" name="entity.state"  class="easyui-combobox" data-options="required:true" >
            		<#list states as state>
            		<option value="${state.state}">${action.getDatagridTitle('state.'+state.name())}</option>
            		</#list>
            	</select>
            </td>
        </tr>
    </table>
	</form>
</div>